﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Facebook_Graph_Toolkit.FacebookObjects {
    /// <summary>
    /// represents a link attachment in a Facebook Post
    /// </summary>
    public class LinkAttachment {
        private string _name;
        private string _url;
        private string _caption;
        private string _description;
        /// <summary>
        /// The name of the link
        /// </summary>
        public string Name { get { return _name; } }
        /// <summary>
        /// The URL of the link
        /// </summary>
        public string URL { get { return _url; } }
        /// <summary>
        /// The caption of the link
        /// </summary>
        public string Caption { get { return _caption; } }
        /// <summary>
        /// The description of the link
        /// </summary>
        public string Description { get { return _description; } }
        /// <summary>
        /// Creates a new link attachment of a Facebook Post
        /// </summary>
        /// <param name="Name">The name of the link</param>
        /// <param name="URL">The URL of the link</param>
        /// <param name="Caption">The caption of the link</param>
        /// <param name="Description">The description of the link</param>
        public LinkAttachment(string Name, string URL, string Caption, string Description) {
            _name = Name;
            _url = URL;
            _caption = Caption;
            _description = Description;
        }
    }
}
